#define _CRT_SECURE_NO_WARNINGS 1

#include "Stack.h"

int main()
{
	ST st;
	StackInit(&st);

	for (int i = 1; i < 5; i++)
	{
		StackPush(&st, i);
	}

	while (!StackEmpty(&st))
	{
		printf("%d ", StackTop(&st));
		StackPop(&st);
	}

	printf("\n");

	StackDestory(&st);

	return 0;
}